ZPOS\API\Coupons S

Total Complexity 27
Dependencies 7
Dependents 1
Total lines 243
Lines of code 172
Logical lines of code 61
Comment lines 20
Methods 11
Properties 2

Methods 11

Method Rating Maintainability Complexity Lines of code
prepare_objects_query()
S
53 5 26
validate_coupon()
S
54 5 23
get_single_item()
S
55 4 18
get_items()
S
54 3 21
register_routes()
S
48 1 37
get_all_ids()
S
55 2 19
add_title_search_exact()
S
62 2 12
get_items_permissions_check()
S
79 2 3
__construct()
S
79 1 3
prepare_object_for_response()
S
67 1 7
get_single_item_permissions_check()
S
80 1 3